package com.ruoyi.riskrule.service;

import com.ruoyi.riskrule.domain.RuleCreditDto;
import com.ruoyi.riskrule.domain.RuleNextDto;

import java.util.Map;

/**
 * @author a
 */
public interface ICustomerCreditService {


    /**
     *
     * @param userId
     * @param needXds NextStep 0：默认先查本地数据  1：接口查询
     * @return CustomerCrsReport.class || CustomerXdsReport.class
     */
    RuleNextDto getConsumerCreditData(String userId, String needXds,String applyType);

    /**
     * 获取最新 xds创建时间
     * @param userId
     * @return
     */
    String geXdsTime(String userId);

    RuleCreditDto creditCheck(String userId,String bvn);


}
